var base64Str = 'emhhbmdzYW46MTIzNDU2';

var buf = Buffer.from(base64Str,"base64");
var str = buf.toString("utf-8");
var arr = str.split(":");

console.log("用户名： "+ arr[0]+ " 密码： "+arr[1]);